//
//  DrawAPI.m
//  桥接模式
//
//  Created by flannery on 2018/12/19.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import "DrawAPI.h"

@implementation DrawAPI
- (void)drawCircleWithX:(int)x Y:(int)y radius:(int)radius{}
@end


@implementation RedCircle
- (void)drawCircleWithX:(int)x Y:(int)y radius:(int)radius{
    NSLog(@"Drawing Circle [ color: red, radius:%d, x=%d, y=%d]", radius, x, y);
}
@end

@implementation GreenCircle
- (void)drawCircleWithX:(int)x Y:(int)y radius:(int)radius{
    NSLog(@"Drawing Circle [ color: green, radius:%d, x=%d, y=%d]", radius, x, y);
}
@end
